package jdbc.example;

public class BbsUser {

	private int userId;
	private String userName;
	private String userPasswd;
	private int userRole;

	public BbsUser() {
	}
	
	@Override
	public String toString() {
		return "userId: " + userId + "; userName: " + userName 
				+ "; userPasswd: " + userPasswd + "; userRole: " + userRole;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserPasswd() {
		return userPasswd;
	}

	public void setUserPasswd(String userPasswd) {
		this.userPasswd = userPasswd;
	}

	public int getUserRole() {
		return userRole;
	}

	public void setUserRole(int userRole) {
		this.userRole = userRole;
	}

}